package com.xf.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

import com.xf.mapper.DmpProviderMapper;
import com.xf.common.core.entity.dmp.DmpProvider;
import com.xf.service.DmpProviderService;

/**
 * @author JoeyLiu
 * @create 2022-03-29 14:57
 */
@Service
public class DmpProviderServiceImpl extends ServiceImpl<DmpProviderMapper, DmpProvider> implements DmpProviderService {

    @Resource
    private DmpProviderMapper dmpProviderMapper;

    @Override
    public int deleteByPrimaryKey(String id) {
        return dmpProviderMapper.deleteByPrimaryKey(id);
    }

    @Override
    public DmpProvider selectByPrimaryKey(String id) {
        return dmpProviderMapper.selectByPrimaryKey(id);
    }



    @Override
    public Boolean updateBatchSelective(List<DmpProvider> list) {
        return dmpProviderMapper.updateBatchSelective(list);
    }

    @Override
    public Boolean batchInsert(List<DmpProvider> list) {
        return dmpProviderMapper.batchInsertOrUpdate(list);
    }
    @Override
    public Boolean insertOrUpdateWithBLOBs(DmpProvider record) {
        return dmpProviderMapper.insertOrUpdateWithBLOBs(record);
    }

}

